package com.prs.crm.dao.document.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.document.DraftFlowDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.document.DraftFlow;

public class DraftFlowDaoImpl  extends BaseDaoImpl<DraftFlow> implements DraftFlowDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<DraftFlow> getAllDraftFlow() {
		Criteria criteria=this.getSession().createCriteria(DraftFlow.class);
		return criteria.list();
	}
}
